|
|
|
|
Joined: Nov 2001
Posts: 436
Member
|
|
Member
Joined: Nov 2001
Posts: 436 |
How would I have a drop down menu (Or radio buttons) that have the options to either refresh manually, or refresh automatically every 10 seconds? I've looked everywhere, can't find it. Thanks.
|
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
You'll need some kind of a custom-programmed JavaScript to do the trick.
|
|
|
|
|
Joined: Nov 2001
Posts: 436
Member
|
|
Member
Joined: Nov 2001
Posts: 436 |
ok, would it look like: For auto refresh selected: [/code] And then, for manual refresh selected: [code] I'm not the best with Javascript, but I was looking at Webmonkey's JS tutorial, and it said to use window.document.forms[0]; to call a form, so that's what I'm guessing it would look like. Am I right? EDIT: This is assuming that there's radio buttons named "auto" and "manual", and that the form is the first on the page. [ 12-30-2001 03:28 PM: Message edited by: BloggerMan ]
|
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
I don't think that'd work, but I honestly don't know JavaScript too well. 
|
|
|
|
|
Joined: Nov 2001
Posts: 198
Member
|
|
Member
Joined: Nov 2001
Posts: 198 |
BloggerMan's would almost work, but I don't think the periodic refresh would... The simplest approach would be like this (I think  ) hope this helps 
Just another boring 17-year-old and yes, I like smilies/graemlins
|
|
|
|
|
Joined: Nov 2001
Posts: 436
Member
|
|
Member
Joined: Nov 2001
Posts: 436 |
hmm... well, I'm getting the nice people over at TutorialForums.com to write me a script, I'll see what they come up with.
|
|
|
|
|
Joined: Nov 2001
Posts: 198
Member
|
|
Member
Joined: Nov 2001
Posts: 198 |
cool 
Just another boring 17-year-old and yes, I like smilies/graemlins
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 547
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 12
|
|
|
|
|
|